package com.ruicar.afs.cloud.image.service;

import com.alibaba.fastjson.JSONObject;
import com.ruicar.afs.cloud.image.condition.OcrDiscernCondition;

/**
 * @Description: OCR识别
 * @Author: rongji.zhang
 * @Date: 2020/8/12 20:06
 */
public interface OcrDiscernService {
    /**
     * @Description:获取银行卡OCR识别
     * @Author: rongji.zhang
     * @Date: 2020/8/12 11:41
     * @Param:dto
     * @Return: JSONObject
     */
    public JSONObject bankCardOcrDiscern(OcrDiscernCondition dto);

    /**
     * @Description:获取机动车发票OCR识别
     * @Author: rongji.zhang
     * @Date: 2020/8/12 11:41
     * @Param:dto
     * @Return: JSONObject
     */
    public JSONObject invoiceCarOcrDiscern(OcrDiscernCondition dto);

    /**
     * @Description:获取身份证正面OCR识别
     * @Author: rongji.zhang
     * @Date: 2020/8/12 11:41
     * @Param:dto
     * @Return: JSONObject
     */
    public JSONObject idCardFrontOcrDiscern(OcrDiscernCondition dto);

    /**
     * @Description:获取身份证反面OCR识别
     * @Author: rongji.zhang
     * @Date: 2020/8/12 11:41
     * @Param:dto
     * @Return: JSONObject
     */
    public JSONObject idCardBackOcrDiscern(OcrDiscernCondition dto);
}
